<?php get_header(); 

// To Show Banner and Title
get_template_part( 'inc/title-bar' ); 
?>



<!-- CONTENT beginging -->        
<div id="content">
        
       <?php 
		// Include Breadcrumb Bar
		get_template_part( 'inc/breadcrumb-sharebar' ); 
		 ?>

        
		<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
		
        <!-- NEWS POST  OPENING-->
        <div <?php post_class('post-wrapper'); ?>>
                <div class="blog-head">  
					   
                       <!-- POST THUMBNAIL  OPENING-->
                        <?php 
                            if ( has_post_thumbnail() ) 
                            {								
                                ?>
                                    <a href="<?php the_permalink(); ?>">
                                        <?php the_post_thumbnail('blog-post-thumb');?>
                                    </a>
                                <?php
                            }
                        ?><!-- POST THUMBNAIL CLOSING-->

                        <h2 class="post-title"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2> 
                        
                         <div class="post-meta">
                                <span class="date"><?php the_time('F j, Y'); ?></span>
                                
                                <span class="author"><?php the_author_posts_link(); ?></span>
                                
                                <span class="comments-count"><?php comments_popup_link( __('0 Comments','locality'), __('1 Comment','locality'), __('% Comments','locality') ); ?></span>
                                
                                <span class="categ"><?php the_category(', ') ?></span>
                                
                                <span class="tags"><?php the_tags( '', ', ', '' ); ?></span>
                        </div>	
                </div>
                <div class="post-data">
						<?php the_content(); ?>
                </div>
                
				<hr/>
                
				<?php comments_template('',true); ?>
                
        </div><!-- NEWS POST CLOSING-->
        <hr />
        <?php endwhile; ?>
        <?php endif; ?>
        
        
</div><!-- CONTENT CLOSING -->

<!-- SIDEBAR -->
<?php get_sidebar('blog'); ?>

<!-- FOOTER -->
<?php get_footer(); ?>

